package com.hue.service;

import com.hue.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hue.entity.vo.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author 姚凤桥
 * @since 2021-06-13
 */
public interface EduChapterService extends IService<EduChapter> {
    //根据courseId查询所有chapter
    public List<ChapterVo> findByCourseId(String courseId);

    //根据id删除chapter
    public boolean deleteById(String id);
}
